home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / x11 / rpg / crossfir.92 / crossfir / crossfire-0.92.5 / crossedit / CrEditP.h < prev    next >
C/C++ Source or Header  |  1996-07-24  |  1KB  |  55 lines

  1. #ifndef _CrEditP_h
  2. #define _CrEditP_h
  3.  
  4. #include <CrEdit.h>
  5. #include <X11.h>
  6.  
  7. #include <X11/IntrinsicP.h>
  8. #include <X11/CoreP.h>
  9.  
  10. /**********************************************************************
  11.  * class                                                              *
  12.  **********************************************************************/
  13.  
  14. typedef struct {
  15.   int empty;
  16. } CrEditClassPart;
  17.  
  18. typedef struct _CrEditClassRec {
  19.   CoreClassPart core_class;
  20.   CrEditClassPart crEdit_class;
  21. } CrEditClassRec;
  22.  
  23. extern CrEditClassRec crEditClassRec;
  24.  
  25. /**********************************************************************
  26.  * instance                                                           *
  27.  **********************************************************************/
  28.  
  29. typedef struct {
  30.     GC gc;          /* */
  31.     Map map;        /* */
  32.     int stacking;   /* */
  33.     int fontSize;   /* */
  34.     int show_weak_walls; /* */
  35.     Boolean selectArea; /* */
  36.     XSegment seg;   /* */
  37.  
  38.     XtCallbackList insertCallbacks;
  39.     XtCallbackList selectCallbacks;
  40.     XtCallbackList propsCallbacks;
  41.     XtCallbackList deleteCallbacks;
  42.     XtCallbackList alignCallbacks;
  43.     XtCallbackList feedCallbacks;
  44. } CrEditPart;
  45.  
  46. typedef struct _CrEditRec {
  47.   CorePart core;
  48.   CrEditPart crEdit;
  49. } CrEditRec;
  50.  
  51. #endif /* _CrEdit_h */
  52.  
  53.  
  54.  
  55.